package cn.tedu.egweibo5.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;

/**
 * @Author: Miyako
 * @CreateTime: 2024-08-14  22:37
 * @Description: TODO
 */
@Data
public class WeiboDTO {
    @Size(min = 10 ,max = 500,message = "微博内容限制未10-500字符")
    @ApiModelProperty(value = "微博内容",required = true)
    private String content;
}
